<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>jqueryTest</title>
    <script src ="../../../../web/jquery-3.5.1.js"></script>
    <style>
        body{
            margin: 0px;
            padding: 0;
        }
        #divMove{
            width: 500px;
            height: 500px;
            border: 1px solid red;
        }
    </style>
</head>
<body>
    mouse:<sapn id="mouseMove"></sapn>
    <div id="divMove"></div>

    <script>
        $(document).ready(function() {
            $("#divMove").mousemove(function(e) {
                $('#mouseMove').text('x: ' + e.pageX + ' y:' + e.pageY )
            })
        })
    </script>
</body>
</html>